package com.hirsi.module.role.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hirsi.module.role.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hirsi.module.role.vo.param.QueryRoleParam;
import com.hirsi.module.role.vo.result.RoleResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author Hirsi
 * @since 2024-03-11
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    IPage<RoleResult> selectRoleResult(Page page, @Param("param") QueryRoleParam param);
}
